/*
 * @Description: 
 * @Author: 邢
 * @Date: 2021-04-21 14:34:47
 * @LastEditTime: 2021-04-21 18:31:32
 * @LastEditors: 邢
 */
import React from 'react'
import { IRouteComponentProps,NavLink } from "umi"
//less
import styles from "./index.less"

export default function article(props:IRouteComponentProps) {
    return (
        <div className={styles.art}>
            <div className={styles.left}>
                <ul>
                    <li>
                        <NavLink to="/article/category">分类管理</NavLink>
                    </li>
                    <li>
                        <NavLink to="/article/tags">标签管理</NavLink>
                    </li>
                </ul>
            </div>
            <div className={styles.right}>
                {props.children}
            </div>
        </div>
    )
}

